#ifndef NATIVETASK_H
#define NATIVETASK_H

#include <defs/export.h>
#include <defs/global.h>
#include <core/task.h>

#include <QtCore>

class NativePlugin;


O_PRIVATE_DECLARE(NativeTask);
class NativeTask : public Opl::Core::Task {
    Q_OBJECT
public:    
    NativeTask(NativePlugin* ext, const QUrl& url);
    virtual ~NativeTask();
    bool isValid()const;
protected:
	virtual void run();
	virtual void setup();
private slots:
	virtual void cleanup();
private:
	O_PRIVATE_DECLARE_MEMBER(NativeTask)
};

#endif // NATIVETASK_H

